<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>职位推荐</title>
  <style>
    /* CSS样式开始 */
    * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #5725bc;
      margin: 0;
      padding: 20px;
    }

    .job-recommendation-container {
      width: 100%;
      max-width: 800px;
      margin: 0 auto;
      background-color: #fff;
    }

    .search-bar {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      padding: 10px;
      background-color: #e9e9e9;
    }

    .search-icon {
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }

    input[type="text"] {
      flex-grow: 1;
      border: none;
      background-color: transparent;
      outline: none;
    }

    .position-recommendation {
      background-color: #f9f9f9;
      border-top: 2px solid #ccc;
      border-bottom: 2px solid #ccc;
      padding: 20px;
    }

    h2 {
      margin-top: 0;
      color: #333;
    }

    p {
      margin-bottom: 20px;
      color: #666;
    }

    .job-card {
      display: flex;
      justify-content: space-between;
      {#align-items: center;#}
      background-color: #fff;
      border: 1px solid #ccc;
      margin-bottom: 30px;
      padding: 10px;
      transition: transform 0.3s ease;
      border-radius:15px;
    }

    .job-card:hover {
      transform: scale(1.03);
    }

    .company-info {
      display: flex;
      flex-direction: column;
    }

    .job-title {
      {#color: #999;#}
      font-weight: bold;
    }

    .contact-btn {
      background-color: #007BFF;
      color: #fff;
      border: none;
      padding: 5px 10px;
      margin-left: 1px;
      cursor: pointer;
    }

    .submit-btn {
      background-color: #FF9900;
      color: #fff;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      margin-top: 20px;
      width: 100%;
    }
    /* CSS样式结束 */
  </style>
</head>

<body>
  <div class="job-recommendation-container">
    <div class="search-bar">
      <img src="" alt="Search Icon" class="search-icon">
      <input type="text" placeholder="搜索心仪的公司 一键查询自身与其职位匹配度....">
    </div>
    <div class="position-recommendation">
      <h2>职位路线推荐</h2>
      <p>职业画像 精准匹配</p>
      <div class="job-card" id="1">
        <div class="company-info">
          <span class="job-title">后端开发工程师</span>
           <div class="job-description">
                <h5>职位描述</h5>
                <ul style="font-size: 14px">
                    <li>负责服务器端软件的设计与开发，确保系统的稳定性和性能。</li>
                    <li>参与系统架构设计，优化现有系统。</li>
                    <li>编写高质量的代码，进行单元测试和集成测试。</li>
                </ul>
            </div>
            <div class="job-requirements">
                <h5>职位要求</h5>
                <ul style="font-size: 14px">
                    <li>计算机相关专业本科及以上学历。</li>
                    <li>熟练掌握至少一种后端编程语言（如Python、Java、Go等）。</li>
                    <li>熟悉数据库管理（如MySQL、PostgreSQL等）。</li>
                    <li>了解网络协议（如HTTP、TCP/IP）。</li>
                    <li>具备良好的问题解决能力和团队合作精神。</li>
                </ul>
            </div>
            <div class="recommended-books">
                <h5>推荐书籍</h5>
                <ul style="font-size: 14px">
                    <li><a href="#">《深入浅出计算机组成原理》</a></li>
                    <li><a href="#">《Clean Code: A Handbook of Agile Software Craftsmanship》</a></li>
                    <li><a href="#">《Design Patterns: Elements of Reusable Object-Oriented Software》</a></li>
                </ul>
            </div>
            <div class="recommended-certificates">
                <h5>推荐证书</h5>
                <ul style="font-size: 14px;">
                    <li><a href="#">Oracle Certified Professional, Java SE 8 Programmer</a></li>
                    <li><a href="#">AWS Certified Solutions Architect - Associate</a></li>
                    <li><a href="#">Microsoft Certified: Azure Developer Associate</a></li>
                </ul>
            </div>
        </div>
        <div style="display: flex;flex-direction: column;justify-content: flex-end;">
            <div>
                <button class="contact-btn">联系</button>
                <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>
            </div>
        </div>
      </div>
      <div class="job-card" id="2">
        <div class="company-info">
            <span class="job-title">网络安全工程师</span>
            <div class="job-description">
                <h5>职位描述</h5>
                <ul style="font-size: 14px">
                    <li>负责公司网络的安全管理和维护，确保网络系统的安全运行。</li>
                    <li>进行安全评估和风险分析，制定和实施安全策略。</li>
                    <li>监控网络流量，检测和响应安全事件，及时处理安全威胁。</li>
                    <li>参与网络安全项目的规划和实施，提高系统的安全性。</li>
                </ul>
            </div>
            <div class="job-requirements">
                <h5>职位要求</h5>
                <ul style="font-size: 14px">
                    <li>计算机科学、信息安全等相关专业本科及以上学历。</li>
                    <li>熟悉常见的网络安全技术和工具，如防火墙、IDS/IPS、漏洞扫描等。</li>
                    <li>了解网络协议（如TCP/IP、HTTP等）和操作系统（如Windows、Linux）的安全配置。</li>
                    <li>具备良好的问题解决能力和团队合作精神。</li>
                    <li>有相关工作经验者优先。</li>
                </ul>
            </div>
            <div class="recommended-books">
                <h5>推荐书籍</h5>
                <ul style="font-size: 14px">
                    <li><a href="#">《网络安全技术与应用》</a></li>
                    <li><a href="#">《Web应用安全：防护XSS与CSRF攻击》</a></li>
                    <li><a href="#">《渗透测试实战指南》</a></li>
                </ul>
            </div>
            <div class="recommended-certificates">
                <h5>推荐证书</h5>
                <ul style="font-size: 14px;">
                    <li><a href="#">Certified Information Systems Security Professional (CISSP)</a></li>
                    <li><a href="#">Certified Ethical Hacker (CEH)</a></li>
                    <li><a href="#">CompTIA Security+</a></li>
                </ul>
            </div>
        </div>
        <div style="display: flex;flex-direction: column;justify-content: flex-end;">
            <div>
                <button class="contact-btn">联系</button>
                <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>
            </div>
        </div>
    </div>
      <div class="job-card" id="3">
          <div class="company-info">
        <span class="job-title">运维工程师</span>
        <div class="job-description">
            <h5>职位描述</h5>
            <ul style="font-size: 14px">
                <li>负责公司IT基础设施的日常维护和管理，确保系统的稳定运行。</li>
                <li>进行系统监控和故障排除，及时响应并解决生产环境中的问题。</li>
                <li>参与自动化运维工具的开发和维护，提高运维效率。</li>
            </ul>
        </div>
        <div class="job-requirements">
            <h5>职位要求</h5>
            <ul style="font-size: 14px">
                <li>计算机相关专业本科及以上学历。</li>
                <li>熟悉Linux操作系统，具备Shell脚本编写能力。</li>
                <li>了解网络协议（如TCP/IP、HTTP等）和常用网络设备的配置。</li>
                <li>熟悉常用的运维工具和技术，如Docker、Kubernetes、Ansible等。</li>
            </ul>
        </div>
        <div class="recommended-books">
            <h5>推荐书籍</h5>
            <ul style="font-size: 14px">
                <li><a href="#">《Site Reliability Engineering: How Google Runs Production Systems》</a></li>
                <li><a href="#">《Learning Linux Shell Scripting: Bash your way to a better command line experience》</a></li>
            </ul>
        </div>
        <div class="recommended-certificates">
            <h5>推荐证书</h5>
            <ul style="font-size: 14px;">
                <li><a href="#">CompTIA Network+</a></li>
                <li><a href="#">AWS Certified SysOps Administrator - Associate</a></li>
                <li><a href="#">Google Cloud Professional Cloud Architect</a></li>
            </ul>
        </div>
    </div>
          <div style="display: flex;flex-direction: column;justify-content: flex-end;">
            <div>
                <button class="contact-btn">联系</button>
                <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>
            </div>
        </div>
     </div>


{#      <div class="job-card" id="codefactory">#}
{#        <div class="company-info">#}
{#          <span class="job-title">软件工程师</span>#}
{#        </div>#}
{#        <div>#}
{#            <button class="contact-btn">联系</button>#}
{#          <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>#}
{#        </div>#}
{#      </div>#}
{#      <div class="job-card" id="guoxing">#}
{#        <div class="company-info">#}
{#          <span class="job-title">网络安全工程师</span>#}
{#        </div>#}
{#        <div>#}
{#            <button class="contact-btn">联系</button>#}
{#          <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>#}
{#        </div>#}
{#      </div>#}
{#      <div class="job-card" id="vanguard">#}
{#        <div class="company-info">#}
{#          <span class="job-title">运维工程师</span>#}
{#        </div>#}
{#        <div>#}
{#            <button class="contact-btn">联系</button>#}
{#          <button class="contact-btn" onclick="window.location.href='http://175.178.101.10/static/ss/course.html'">展开</button>#}
{#        </div>#}
{#      </div>#}
      <button class="submit-btn">一键投递简历</button>
    </div>
  </div>
  <script>
    // JavaScript代码开始
    // 获取所有联系按钮
    const contactButtons = document.querySelectorAll('.contact-btn');
    contactButtons.forEach(button => {
      button.addEventListener('click', function () {
        // 这里可以添加联系按钮的交互逻辑，例如弹出确认框
        const companyName = this.parentElement.querySelector('.company-name').textContent;
        const jobTitle = this.parentElement.querySelector('.job-title').textContent;
        if (confirm(`你确定要联系${companyName}的${jobTitle}职位吗？`)) {
          // 这里可以添加发送请求到后端的代码
          console.log(`正在联系${companyName}的${jobTitle}职位`);
        }
      });
    });

    // 获取一键投递简历按钮
    const submitButton = document.querySelector('.submit-btn');
    submitButton.addEventListener('click', function () {
      // 这里可以添加一键投递简历的交互逻辑，例如收集表单数据并发送到后端
      if (confirm("你确定要一键投递简历吗？")) {
        // 这里可以添加发送请求到后端的代码
        console.log("正在一键投递简历");
      }
    });
    // JavaScript代码结束
  </script>
</body>

</html>
